@use "sass:math";
*{
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
.w{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

//导航栏
.shortcut{
    width: 100%;
    height: 36px;
    background-color: #f9f9f9;
    .layout{
        @extend .w;
        height: 36px;
        display: flex;
        justify-content: space-between;
        .s-sub, .s-main{
            height: 36px;
            & > ul{
                position: relative;
                & > li{
                    padding-right: 8px;
                }
                & > li+li{
                    ::before{
                        content: "|";
                        color: #afafaf;
                        margin-right: 8px;
                    }
                }
                & > li{
                    float: left;
                    line-height: 36px;

                    a {
                        color: #afafaf;
                        font: 12px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                    }
                }
                & > .a{
                    width: 74px;
                    position: absolute;
                    left: 409px;
                    top:12px;
                    font-size: 12px;
                    a{
                        color: #afafaf;
                    }
                    .b{
                        width: 150px;
                        height: 150px;
                        position: relative;
                        left: -100px;
                        background-color: #fff;
                        text-align: center;
                        p:first-child{
                            margin-top: 18px;
                        }
                        font-size: 16px;
                        p{
                            margin-top: 15px;
                            a{
                                color: #777;
                            }
                        }
                        z-index: 3;
                        display: none;
                    }
                }
                .hide{
                    float: left;
                    line-height: 36px;
                    margin-top: 12px;
                    :last-child{
                        display: none;
                    }
                    a{
                        display: block;
                        color: #afafaf;
                        font: 12px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                    }
                }

                
            }
        }
        .s-main{
            // li:last-child{
            //     background-color: #424242;
            // }
            li:nth-child(2){
                ::before{
                    content: "";
                }
            }
        }
    }
}

//logo
.header{
    width: 100%;
    height: 50px;
    padding: 10px 0;
    & > .layout{
        width: 1200px;
        height: 50px;
        margin: 0 auto;
        .logo{
            width: 260;
            height: 50px;
            line-height: 50px;
            overflow: hidden;
            a{
                float: left;
                margin-top: 4px;
                width: 120px;
                height: 41px;
                img{
                    width: 120px;
                    height: 41px;
                }
            }
            span{
                float: left;
                display: block;
                margin-left: 26px;
                font-size: 22px;
                color: #3a3a3a;
            }
        }
    }
}


//main
.main{
    width: 100%;
    background-color: #afafaf;
    & > .layout{
        width: 1200px;
        margin: 0 auto;
        overflow: hidden;
        .login-prompt{
            border: 1px solid #eace85;
            background: #fffdee;
            color: #ca141d;
            line-height: 48px;
            padding: 0 20px;
            margin-top: 10px;
            font-size: 12px;
            display: none;
            a{
                width: 70px;
                height: 30px;
                line-height: 30px;
                display: inline-block;
                background: #ca141d;
                color: #fff;
                text-align: center;
                margin-left: 10px;
                border-radius: 2px;
            }
        }
        .empty{
            margin-top: 20px;
            padding-top: 135px;
            height: 365px;
            background: #fff;
            text-align: center;
            color: #7f7f7f;
            font-size: 14px;
            span{
                background: url(https://res.vmallres.com/20211027/staticpc/img/icon-header-minicart.png) no-repeat;
                display: block;
                height: 100px;
                margin: 0 auto 36px;
                width: 100px;
            }
            p{
                font-size: 18px;
                color: #a4a4a4;
                margin-bottom: 16px;
            }
            a{
                width: 172px;
                height: 46px;
                line-height: 46px;
                font-size: 18px;
                color: #fff;
                display: block;
                margin: 0 auto;
                background: #ca141d;
                border-radius: 2px;
            }
        }
        .sc-list{
            margin-top: 20px;
            margin-bottom: 20px;
            line-height: 40px;
            // padding-left: 40px;
            color: #a4a4a4;
            font-size: 12px;
            .sc-title{
                background: #fff;
                height: 40px;
                label{
                    float: left;
                    margin-left: 40px;
                    width: 150px;
                    line-height: 40px;
                    color: #a4a4a4;
                    input{
                        margin-right: 10px;
                    }
                }
                & > ul{
                    float: left;
                    li{
                        float: left;
                        width: 100px;
                        margin-left: 30px;
                        min-height: 14px;
                        text-align: center;
                    }
                    li:first-child{
                        width: 450px;
                        text-align: left;
                        margin-left: 0;
                    }
                }
            }

            //商品列表
            .items{
                width: 1200px;
                overflow: hidden;
                & > li{
                    width: 1160px;
                    height: 158px;
                    // height: 228px;
                    padding-left: 40px;
                    background: #fff;
                    margin-top: 10px;
                    padding-top: 20px;
                    & > label{
                        float: left;
                        margin-top: 43px;
                        margin-right: 3px;
                    }
                    .po-area{
                        float: left;
                        width: 1130px;
                        font-size: 14px;
                        .time{
                            position: relative;
                            padding-left: 18px;
                            font-size: 14px;
                            margin-bottom: 16px;
                            label{
                                font-size: 16px;
                                font-weight: 700;
                                margin-right: 4px;
                                color: #3a3a3a;
                            }
                            .p-time{
                                display: inline-block;
                                font-size: 14px;
                                background-color: blue;
                            }
                        }
                    }
                    .pro-main{
                        width: 1130px;
                        height: 100px;
                        margin-bottom: 18px;
                        & > a{
                            display: block;
                            width: 100px;
                            height: 100px;
                            float: left;
                            margin-right: 20px;
                            img{
                                width: 100px;
                                height: 100px;
                            }
                        }
                        & > ul{
                            width: 970px;
                            float: left;
                            li{
                                float: left;
                                width: 100px;
                                // margin-left: 30px;
                                min-height: 14px;
                                text-align: center;
                            }
                            li:first-child{
                                width: 450px;
                                text-align: left;
                                margin-left: 0;
                                a{
                                    margin-bottom: 2px;
                                    display: -webkit-box;
                                    -webkit-box-orient: vertical;
                                    -webkit-line-clamp: 2;
                                    line-height: 20px;
                                    width: 450px;
                                    height: 40px;
                                    font-size: 14px;
                                    color: #3a3a3a;
                                    overflow: hidden;
                                }
                                .p-label{
                                    overflow: hidden;
                                    & > span{
                                        font-size: 14px;
                                        color: #ca141d;
                                        line-height: 18px;
                                        padding: 0 8px;
                                        margin-right: 8px;
                                        border: 1px solid #ca141d;
                                        float: left;
                                        margin-top: 6px;
                                    }
                                }
                            }
                            li:nth-child(2){
                                width: 140px;
                                height: 40px;
                                line-height: 40px;
                                margin-left: 30px;
                                text-align: center;
                                span{
                                    color: #3a3a3a;
                                    font-size: 16px;
                                }
                            }
                            li:nth-child(3){
                                margin-top: 10px;
                                margin-left: 10px;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                .p-reduce{
                                    width: 21px;
                                    height: 18px;
                                    border: 1px solid #a1a1a1;
                                    border-right: 0;
                                    a{
                                        display: block;
                                        width: 21px;
                                        height: 18px;
                                        line-height: 18px;
                                        color: #3a3a3a;
                                        font-size: 16px;
                                    }
                                }
                                .p-count{
                                    width: 44px;
                                    height: 18px;
                                    border: 1px solid #a1a1a1;
                                    line-height: 18px;
                                    input{
                                        text-align: center;
                                        width: 44px;
                                        height: 17px;
                                        line-height: 17px;
                                        border: 0;
                                    }
                                }
                                .p-add{
                                    width: 21px;
                                    height: 18px;
                                    line-height: 18px;
                                    border: 1px solid #a1a1a1;
                                    border-left: 0;
                                    a{
                                        display: block;
                                        width: 21px;
                                        height: 18px;
                                        line-height: 18px;
                                        color: #3a3a3a;
                                        font-size: 16px;
                                    }
                                }
                            }
                            li:nth-child(4){
                                margin-left: 30px;
                                color: #ca141d;
                                font-weight: 700;
                                span{
                                    font-size: 18px;
                                }
                            }
                            li:last-child{
                                margin-left: 10px;
                                margin-top: 10px;
                                height: 20px;
                                line-height: 20px;
                                text-align: center;
                                a{
                                    width: 40px;
                                    display: block;
                                    font-size: 16px;
                                    color: #3a3a3a;
                                    margin-left: 45px;
                                }
                            }
                        }
                    }

                }
            }

            //结算
            .settlement{
                width: 1200px;
                height: 60px;
                margin-top: 10px;
                background-color: #fff;
                color: #3a3a3a;
                overflow: hidden;
                .total-contor{
                    width: 300px;
                    height: 60px;
                    float: left;
                    label{
                        height: 60px;
                        line-height: 60px;
                        float: left;
                        margin-left: 40px;
                        input{
                            margin-right: 10px;
                        }
                    }
                    a:nth-child(2){
                        float: left;
                        display: block;
                        margin-left: 20px;
                        height: 60px;
                        line-height: 60px;
                        color: #3a3a3a;
                    }
                    a:nth-child(3){
                        float: left;
                        display: block;
                        margin-left: 20px;
                        height: 60px;
                        line-height: 60px;
                        color: #3a3a3a;
                    }
                }
                .total-btn{
                    float: right;
                    width: 180px;
                    height: 60px;
                    a{
                        display: block;
                        width: 180px;
                        height: 60px;
                        color: #fff;
                        background-color: #ca151e;
                        line-height: 60px;
                        text-align: center;
                        font-size: 18px;
                    }
                }
                .total-price{
                    float: right;
                    margin-right: 30px;
                    margin-top: 7px;
                    text-align: right;
                    p{
                        height: 27px;
                        line-height: 27px;
                        font-size: 14px;
                        span{
                            color: #ca151e;
                            font-size: 18px;
                            font-weight: 700;
                        }
                    }
                    .choose{
                        height: 17px;
                        line-height: 17px;
                        color: #a4a4a4;
                        em{
                            color: #ca151e;
                            margin: 0 5px;
                            font-weight: 700;
                            font-style: normal;
                        }
                    }
                }
            }
        }
    }
}


//尾部
.footer{
    width: 100%;
    position: relative;
    margin-top: 60px;
    background-color: #f9f9f9;
    //口号
    .slogan-container{
        height: 82px;
        .slogan{
            width: 1200px;
            height: 40px;
            padding: 22px 0 20px;
            margin: 0 auto;
            ul{
                width: 1200px;
                height: 40px;
                display: flex;
                justify-content: space-between;
                li{
                    text-align: center;
                    a{
                        font-size: 18px;
                        color: #333;
                        i{
                            display: inline-block;
                            vertical-align: middle;
                            width: 39px;
                            height: 39px;
                            line-height: 39px;
                            margin-right: 15px;
                            border: 1px solid red;
                            border-radius: 50%;
                            color: red;
                            font-size: 28px;
                        }
                    }
                }
            }
        }
    }
    //服务
    .service-container{
        width: 100%;
        height: 211px;
        .service{
            border-top: 1px solid #E5E5E5;
            border-bottom: 1px solid #E5E5E5;
            padding: 23px 0 24px;
            width: 1200px;
            height: 162px;
            margin: 0 auto;
            .service-l{
                float: left;
                width: 920px;
                height: 155px;
                padding-top: 5px;
                border-right: 1px solid #e5e5e5;
                color: #3a3a3a;
                dl{
                    width: 16.66667%;
                    float: left;
                    display: block;
                    dt{
                        font-size: 14px;
                        color: #3A3A3A;
                        p{
                            font-size: 14px!important;
                            padding-bottom: 7px;
                            color: #333;
                            display: block;
                            border-left: none;
                            padding-left: 0;
                            line-height: 1.5!important;
                            margin-bottom: 0!important;
                        }
                    }
                    dd{
                        display: block;
                        ol{
                            list-style: none;
                            li{
                                a{
                                    line-height: 22px;
                                    color: #777;
                                    font-size: 12px;
                                }
                            }
                        }
                    }
                }
            }
            .service-r{
                width: 278px;
                min-height: 160px;
                margin-top: 2px;
                text-align: center;
                float: left;
                dl{
                    width: 279px;
                    dt{
                        p{
                            color: #575757;
                            font-weight: bold;
                            font-size: 24px;
                        }
                    }
                    dd{
                        font-size: 14px;
                        color: #333;
                        ol{
                            list-style: none;
                            li{
                                a{
                                    color: #575757;
                                }
                            }
                        }
                        & > a{
                            display: block;
                            width: 170px;
                            height: 34px;
                            padding: 0;
                            margin: 0 auto;
                            margin-top: 10px;
                            font-size: 14px;
                            line-height: 34px;
                            background: #333;
                            cursor: pointer;
                            border-radius: 17px;
                            font-size: 14px;
                            color: #fff;
                            i{
                                display: inline-block;
                                height: 20px;
                                line-height: 20px;
                                width: 20px;
                                margin-right: 6px;
                                vertical-align: middle;
                            }
                        }
                    }
                }
                .service_code{
                    float: left;
                    width: 250px;
                    margin-top: 26px;
                    margin-left: 40px;
                    h2{
                        font-size: 14px;
                        color: #333;
                        float: left;
                        font-weight: 400;
                    }
                    ul{
                        float: left;
                        margin-left: 3px;
                        li{
                            width: 24px;
                            height: 24px;
                            margin-right: 11px;
                            position: relative;
                            float: left;
                            a{
                                color: #3a3a3a;
                            }
                        }
                    }
                }
            }
        }
    }
    //底部
    .foot-container{
        width: 100%;
        min-width: 1200px;
        height: 134px;
        .foot{
            padding: 25px 0 28px;
            width: 1200px;
            margin: 0 auto;
            color: #666;
            line-height: 1.5;
            .foot-area{
                text-align: left;
                color: #a4a4a4;
                line-height: 20px;
                font-size: 12px;
                .foot-log{
                    float: left;
                    width: 82px;
                    height: 20px;
                    padding: 3px 20px 0 0;
                    a{
                        display: block;
                        width: 100%;
                        height: 100%;
                        img{
                            width: 82px;
                            height: 20px;
                        }
                    }
                }
                & > div{
                    float: left;
                    ul{
                        margin-top: 3px;
                        margin-bottom: 6px;
                        display: block;
                        height: 12px;
                        li{
                            float: left;
                            line-height: 1;
                            padding-right: 6px;
                            border-right: 1px solid #d3d3d3;
                            margin-right: 6px;
                            a{
                                color: #777;
                                font-size: 12px;
                            }
                        }
                    }
                    & > a{
                        color: #a4a4a4;
                        font-size: 12px;
                    }
                }
                .foot-img{
                    float: right;
                    margin-top: 2px;
                    width: 278px;
                    text-align: center;
                    a{
                        display: inline-block;
                        width: 100px;
                        margin: 0 5px;
                        color: #a4a4a4;
                        img{
                            vertical-align: top;
                            width: 100px
                        }
                    }
                }
            }
        }
    }
}
